<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>
</head>
<body>
<div id="box">
    <div>列表展示</div>
    <ul>
        <li v-for="item,index in list">
            {{item}}--{{index}}
        </li>
    </ul>
</div>
<script>

    var obj = {
        data() {
            return {
                list:["aa","bb","cc","dd"]
            }
        },
        methods:{
        }
    }
    var app = Vue.createApp(obj).mount("#box")
</script>
</body>
</html>